home *** CD-ROM | disk | FTP | other *** search
/ .net 2000 August / NET74.ISO / pc / Software / JavaApplet / AnfyMacBeta1.sea / Anfy for Macintosh / anjavapp / fluid / fluid.txt < prev    next >
Encoding:
Text File  |  1999-07-05  |  5.1 KB  |  117 lines  |  [TEXT/ttxt]

  1.  
  2.           Anfy Fluid - Copyright (C) by Fabio Ciucci 1997-99
  3.  
  4.  
  5. This applet simulates a surface with fluid wavings. This applet is fully
  6.  parameterized, so you can generate various kinds of fluid effects.
  7.  
  8. ****************************************************************************
  9.  
  10. Apart from an optional overlay image, the following 3 ".class" files 
  11. must be uploaded: 
  12.  
  13. flud.class
  14. anfy.class
  15. Lware.class
  16.  
  17. Plus, fluid.jar for speedy loading on recent browsers.
  18.  
  19. ***************************************************************************
  20.  
  21. EXAMPLE.
  22.  
  23. Insert the <applet></applet> tag in your html document as follows to add
  24.  this applet to your page (Comments after the ";" symbol are code descriptions
  25. and acceptable min/max values. They are not part of the applet language):
  26.  
  27.  
  28. <applet archive="fluid.jar" code="fluid.class" width="200" height="200">
  29. <param name="credits" value="Applet by Fabio Ciucci (www.anfyteam.com)">
  30. <param name="regcode" value="NO">         ; Registration code (if you have it)
  31. <param name="reglink" value="NO">         ; Optional URL link when applet
  32.                                           is "clicked".
  33. <param name="regnewframe" value="YES">       ; Reglink opened in new frame?
  34. <param name="regframename" value="_blank">   ; Name of new frame for reglink
  35. <param name="statusmsg" value="Fluid applet">  ; Statusbar message
  36. <param name="res" value="1">                 ; resolution (1 .. 8)
  37. <param name="autodesign" value="YES">        ; Auto design ("YES" or "NO")
  38. <param name="density" value="4">             ; Density of fluid (2 .. 6)
  39. <param name="fishnum" value="0">             ; Number of fishes (0 .. 2)
  40. <param name="rainsize" value="0">            ; Size of circular rain (0 = OFF)
  41. <param name="rainfactor" value="10">         ; Circular rain factor
  42. <param name="srainsize" value="0">           ; Size of square rain (0 = OFF)
  43. <param name="srainfactor" value="10">        ; Square rain factor
  44. <param name="volcano" value="NO">            ; Volcano's magma mode (YES, NO)
  45. <param name="overimg" value="NO">            ; Optional image over applet
  46. <param name="overimgX" value="0">            ; Over image X offset
  47. <param name="overimgY" value="0">            ; Over image Y offset
  48. <param name="memdelay" value="1000">         ; Memory deallocation delay
  49. <param name="priority" value="3">            ; Task priority (1..10)
  50. <param name="MinSYNC" value="10">            ; Min. milliseconds/frame for sync
  51. Sorry, your browser doesn't support Java.  ; Message for no java browsers.
  52. </applet>                                  ; End of applet tag
  53.  
  54. ***************************************************************************
  55.  
  56. INSTRUCTIONS.
  57.  
  58. The following instructions describe how to change parameters:
  59.  
  60. Attempting to change the credit parameter will disable the applet.
  61.  
  62. To activate the reg parameters read the shareware registration notes.
  63. In the "regcode" parameter, place the registration code you purchased from
  64. the author. If the code is correct and the applet is run from the registered
  65. domain name, you can use "link" parameters to link to a URL when the applet
  66.  is mouse-clicked.
  67.  
  68. If you set "regnewframe" to "YES", you can specify a specific frame location
  69. for the reglink:
  70.  
  71. "_blank"  : To load the link in a new blank unnamed browser window.
  72. "_self"   : To load the link into the same window the applet occupies.
  73. "_parent" : To load the link into the immediate FRAMESET parent.
  74. "_top"    : To load the link into the top body of the window.
  75.  
  76. You can also set a custom frame name, such as "myframe1".
  77.  
  78. With the "overimg" parameter you can specify the name of an image that will
  79. be painted over the applet. The best options are transparent GIF images.
  80. NOTE: Animated GIF images are supported, but will be animated only on latest
  81.  browsers (Netscape 4 and Explorer 4 or newer).
  82.  
  83. With "overimgX" and "overimgY" you can center the image over the applet area.
  84.  
  85. For optimum results, the height should be 200. You can change the width.
  86. ("res" is a sort of zoomer).
  87.  
  88. If you set the "autodesign" parameter to "YES", an automatic slideshow of the
  89. effects will be executed, and the next parameters are ignored. If you set to
  90.  "NO", you have to configure effects manually.
  91.  
  92. The "density" parameter (2 .. 6) controls the density of fluid. Lower values
  93. mean more fluid liquid, so waves end quickly. Higher values cause a slower
  94. decadence of the waves.
  95.  
  96. You can insert up to 2 fishes, with "fishnum" parameter.
  97.  
  98. Other effects are: rain and srain.
  99.  
  100. Set the parameter "rainsize" to more than 0 and activate the spheric rain.
  101. The "rainfactor" parameter works as "timer" between one drop and another.
  102. By setting "rainfactor" to 0, a new drop will appear in every frame.
  103. Higher values mean more distance between one drop and another.
  104.  
  105. The "srainsize" determines a square rain. Well, a rain drop itself is not square,
  106. but its wave expands rather spherically; whereas spheric rain drops generates 
  107. normal radial waves. If the parameter is set to zero, no rain generates. Values
  108.  equal to or higher than 1 will generate rain. To control it, use "srainfactor"
  109. the same way as "rainfactor".
  110.  
  111. The "volcano" parameter, if set to "YES", transforms the water into lavic
  112. magma, for inferno effect.
  113.  
  114. You can enable more than one effect at the same time.
  115.  
  116.  
  117.